﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Employer.aspx.cs" Inherits="Arbetsfornedringen.Pages.Employer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentHead" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server" >
    <link href="../Styles/EmployerStyle.css" rel="stylesheet" media="Screen" />
    <div id="left">
        
        <asp:Label ID="LabelExpiredDate" runat="server" Text="Utgångsdatum:" Font-Bold="True" ForeColor="#E46A18"></asp:Label>
        <asp:Calendar ID="Calendar1" runat="server" OnDayRender="Calendar1_DayRender" Height="107px" Width="419px" ForeColor="#0066FF">
            <DayHeaderStyle ForeColor="#E46A18" />
            <WeekendDayStyle ForeColor="#66FF33" />
        </asp:Calendar>
        <br />
        <asp:Label ID="LabelTitle" runat="server" Text="Titel * :" Font-Bold="True" ForeColor="#E46A18"></asp:Label>
        <asp:TextBox ID="TextBoxTitle" runat="server" BackColor="Silver"></asp:TextBox>
        <br />
    </div>
    
    <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Required field!" ForeColor="Red">*</asp:RequiredFieldValidator>--%>
    <div id="right">
        <asp:Label ID="LabelDescription" runat="server" Text="Beskrivning:" Font-Bold="True" ForeColor="#E46A18"></asp:Label>
        <br />
        <asp:TextBox ID="TextBoxDescription" runat="server" Height="155px" TextMode="MultiLine" Width="301px" BackColor="Silver"></asp:TextBox>
        <br/>
        <asp:Button CssClass="btn" ID="ButtonAddWorkAd" runat="server" Text="Lägg till" OnClick="ButtonAddWorkAd_Click" />
        <asp:Label ID="LabelStatus" runat="server" Font-Bold="True" ForeColor="#E46A18"></asp:Label>
    </div>
    <br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
    <div id="bottom">
        <asp:GridView ID="GridView1" runat="server"  AutoGenerateColumns="False" ForeColor="#FF6600">
        <Columns>
            <asp:BoundField DataField="WorkId" HeaderText="WorkId" Visible="False" />
            <asp:ButtonField CommandName="DeleteWorkAd" Text="Ta bort" />
            <asp:ButtonField CommandName="FillWorkAd" Text="Tillsatt" />
            <asp:BoundField DataField="EnteredDate" HeaderText="Startdatum" />
            <asp:BoundField DataField="Title" HeaderText="Titel" />
            <asp:BoundField DataField="Description" HeaderText="Beskrivning" />
            <asp:BoundField DataField="ExpiredDate" HeaderText="Utgångsdatum" />
        </Columns>
        <FooterStyle BackColor="#CCCCCC" />
        <HeaderStyle Font-Bold="True" ForeColor="#FF6600" />
        <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
        <RowStyle BackColor="White" />
        <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#F1F1F1" />
        <SortedAscendingHeaderStyle BackColor="#808080" />
        <SortedDescendingCellStyle BackColor="#CAC9C9" />
        <SortedDescendingHeaderStyle BackColor="#383838" />
    </asp:GridView>
    <br />
    </div>
    
    </asp:Content>
